Skip to content

Refine README as an engineering project profile - #11

Merged
lishehao merged 1 commit into
mainfrom
codex/readme-project-profile
Jul 16, 2026
Merged

Refine README as an engineering project profile#11
lishehao merged 1 commit into
mainfrom
codex/readme-project-profile

Conversation

@lishehao

Copy link
Copy Markdown
Owner

Summary

  • redesign the README as a reviewer-first engineering project profile
  • make the real Tkinter fixture replay the primary visual evidence
  • surface architecture, data-contract, operator-state, and packaging decisions
  • consolidate reproduction, validation, documentation, and safety boundaries

Validation

  • PYTHONPATH=src python3 -m unittest discover -s tests (82 tests)
  • python3 -m ruff check src/app tests scripts
  • git diff --check
  • README local link and anchor check (26 Markdown targets, 10 HTML targets)
  • GitHub GFM render API accepted the document
  • YouTube demo endpoint returned HTTP 200

Evidence boundary

Current public validation remains hardware-free. The README does not claim live AWG/oscilloscope, metrology, electrical safety, or production certification.

@lishehao
lishehao merged commit 73b5d50 into main Jul 16, 2026
6 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4b8ed4d67d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread README.md

```bash
PYTHONPATH=src python -m unittest discover -s tests
python -m ruff check src/app tests scripts

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Install the dev extra before the Ruff check

In a clean venv following the documented setup, python -m pip install -e . installs only the runtime dependencies; ruff is declared only in the dev optional dependency/requirements-dev path. This validation command will therefore fail with No module named ruff unless the reader already has Ruff installed globally, so the reproduce steps should install -e '.[dev]' or add an explicit dev-dependency step before running it.

Useful? React with 👍 / 👎.

Comment thread README.md
Comment on lines +86 to +87
[package smoke](src/app/demo/package_smoke.py) exercises fixture load, reference correction, export, and reload from
the frozen executable and records `live_hardware_used: false`. This is packaging evidence, not a certified release

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Do not claim package-smoke reference correction

The package smoke currently loads the reference and checks interpolation, but it exports loaded.result directly and never applies the reference to the fixture points. In contexts where this README is used as validation evidence, saying the frozen executable exercises “reference correction” overstates the packaged workflow coverage; either qualify this as reference load/interpolation or extend the smoke to apply and verify correction.

Useful? React with 👍 / 👎.

Comment thread README.md

## Safety Notes
Saving a measurement can produce `*.mat`, `*.csv`, `*.txt`, and optional `*_gain.png` / `*_gain_db.png` plots.
Exports preserve source, correction mode, point count, timestamp, and the simulated/live boundary when available.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Qualify which export formats preserve metadata

This sentence implies every saved export preserves point count and timestamp, but MeasurementExporter only writes those into the MAT metadata_json; CSV has source/boundary/correction plus numeric columns, and TXT has only numeric columns. Users relying on CSV/TXT as analysis-ready artifacts will not get the documented metadata, so the README should limit this claim to MAT/operator receipts or the exporters should add the metadata to those formats.

Useful? React with 👍 / 👎.

Comment thread README.md
Comment on lines +137 to +138
To inspect the workflow without instruments, launch the application and select **Load Demo Fixture**. The console
will retain the simulated/no-hardware label throughout replay and export.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Clarify the fixture must be launched from a resource root

This demo step only works when the app's runtime root contains demo_data, because on_load_demo_fixture builds the fixture path from AppPaths.root_dir (the cwd or AUTO_LOAD_OFF_TEST_ROOT) rather than from installed/bundled package resources. If a reviewer uses the advertised console entry from another directory or sets a separate runtime root for a packaged install, the button shows Demo fixture not found; either document that the app must be launched from the repo root/copy demo_data, or resolve the fixture via the bundled resource path.

Useful? React with 👍 / 👎.

@lishehao
lishehao deleted the codex/readme-project-profile branch July 16, 2026 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant